package com.springcloud.tread.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AnnualProfit implements Serializable {
    private int year;
    private float indexIncomeProfit;
    private float treadIncomeProfit;

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public float getIndexIncomeProfit() {
        return indexIncomeProfit;
    }

    public void setIndexIncomeProfit(float indexIncomeProfit) {
        this.indexIncomeProfit = indexIncomeProfit;
    }

    public float getTreadIncomeProfit() {
        return treadIncomeProfit;
    }

    public void setTreadIncomeProfit(float treadIncomeProfit) {
        this.treadIncomeProfit = treadIncomeProfit;
    }
}
